﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MethodWorx.CMS.UI.Models;
using MethodWorx.Core.DomainModel;
using MethodWorx.CMS.Administration;
using MethodWorx.CMS.Plugins;
using MethodWorx.CMS.Services;

namespace MethodWorx.CMS.UI.Controllers
{
    public class AdministrationController : Controller
    {
        
        //
        // GET: /Administration/
        private IUnitOfWorkFactory unitOfWorkFactory;
        private IApplicationSettingsRepository settings;
        private IPluginRepository plugins;
        

        public AdministrationController(IUnitOfWorkFactory unitOfWorkFactory, IApplicationSettingsRepository settings, IPluginRepository plugin)
        {
            this.unitOfWorkFactory = unitOfWorkFactory;
            this.settings = settings;
            this.plugins = plugins;
        }

        public ActionResult Index()
        {
            return View(new AdministrationSummaryModel(this.settings));
        }

     



     


     
    }
}
